package io.renren.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.entity.AdEntity;

import java.util.List;
import java.util.Map;

/**
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-12-10 11:47:58
 */
public interface AdDao extends BaseMapper<AdEntity> {
    /***
     * 获取广告
     * @param adPositionId 广告位置
     * @return R
     */
    List<Map<String, Object>> getAd(Integer adPositionId);
}
